<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/1/16
 * Time: 12:11
 */
namespace app\index\controller;
use think\helper\Time;
class One{
    public function one(){
        list($start,$end)=Time::today();
        echo $start;
        echo $end;
    }
}

$one=new One();
$one->one();